package br.senai.modelo;

import javax.persistence.EntityManager;

public interface BaseDAO {

	public void setEntityManager(EntityManager entityManager);
	
	public void salvar(Object entidade);
	
	@SuppressWarnings("rawtypes")
	public void remover(Class classe, Integer id);
	
	@SuppressWarnings("rawtypes")
	public Object buscarPorId(Class classe, Integer id);
		
}